import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'BloC/myDynamicBloC.dart';
import 'view.dart';

class MyDynamic extends StatelessWidget {
  const MyDynamic({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MultiBlocProvider(
      providers: [
        BlocProvider<MyDynamicBloc>(
          create: (context) => MyDynamicBloc(),
        ),
      ],
      child: MyDynamicView(),
    );
  }
}
